package com.cy.ppj.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @description: 缓存集合
 * @author: Ocean
 * @create: 2018-09-10 18:30
 **/
@Data
@ApiModel("缓存列表")
public class CacheBean<E> {

    @ApiModelProperty(value = "缓存时间")
    private Date cacheTime;

    @ApiModelProperty(value = "数据")
    private List<E> list;

}
